package com.qing.library_manager.controller.other;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>TODO</p>
 *
 * @author Yjx
 * @version 1.0.0
 * @since 2021/12/2
 **/
@Controller
public class IndexController {

    @RequestMapping(value = {"index"})
    public String index(){
        System.out.println("=============index");
        return "LibraryManager/index";
    }

    @RequestMapping(value = {"login","/"})
    public String login(){
        System.out.println("=============login");
        return "LibraryManager/login";
    }

}
